<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: kern/mm/pmm.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b3dad8e81b3f37b89b2bf0a8abb2d993.html">kern</a></li><li class="navelem"><a class="el" href="dir_946bd77349b7674f752759d0c55831d4.html">mm</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle">
<div class="title">pmm.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="assert_8h_source.html">assert.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="atomic_8h_source.html">atomic.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="defs_8h_source.html">defs.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="memlayout_8h_source.html">memlayout.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="mmu_8h_source.html">mmu.h</a>&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
pmm.h 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h__incl.gif" border="0" usemap="#akern_2mm_2pmm_8h" alt=""/></div>
<map name="akern_2mm_2pmm_8h" id="akern_2mm_2pmm_8h">
<area shape="rect" title=" " alt="" coords="115,5,245,32"/>
<area shape="rect" href="assert_8h.html" title=" " alt="" coords="5,155,80,181"/>
<area shape="rect" href="defs_8h.html" title=" " alt="" coords="241,229,303,256"/>
<area shape="rect" href="atomic_8h.html" title=" " alt="" coords="155,155,234,181"/>
<area shape="rect" href="memlayout_8h.html" title=" " alt="" coords="217,80,327,107"/>
<area shape="rect" href="mmu_8h.html" title=" " alt="" coords="359,80,427,107"/>
<area shape="rect" href="list_8h.html" title=" " alt="" coords="310,155,365,181"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
此图展示该文件直接或间接的被哪些文件引用了:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h__dep__incl.gif" border="0" usemap="#akern_2mm_2pmm_8hdep" alt=""/></div>
<map name="akern_2mm_2pmm_8hdep" id="akern_2mm_2pmm_8hdep">
<area shape="rect" title=" " alt="" coords="361,5,491,32"/>
<area shape="rect" href="swapfs_8c.html" title=" " alt="" coords="509,229,636,256"/>
<area shape="rect" href="init_8c.html" title=" " alt="" coords="424,155,535,181"/>
<area shape="rect" href="default__pmm_8c.html" title=" " alt="" coords="5,155,188,181"/>
<area shape="rect" href="default__pmm_8h.html" title=" " alt="" coords="121,80,304,107"/>
<area shape="rect" href="pmm_8c.html" title=" " alt="" coords="219,155,348,181"/>
<area shape="rect" href="swap_8c.html" title=" " alt="" coords="956,229,1085,256"/>
<area shape="rect" href="swap_8h.html" title=" " alt="" coords="746,80,877,107"/>
<area shape="rect" href="vmm_8c.html" title=" " alt="" coords="1439,155,1568,181"/>
<area shape="rect" href="swapfs_8h.html" title=" " alt="" coords="661,155,789,181"/>
<area shape="rect" href="swap__clock_8c.html" title=" " alt="" coords="711,229,882,256"/>
<area shape="rect" href="swap__clock_8h.html" title=" " alt="" coords="813,155,983,181"/>
<area shape="rect" href="swap__fifo_8c.html" title=" " alt="" coords="1215,229,1373,256"/>
<area shape="rect" href="swap__fifo_8h.html" title=" " alt="" coords="1059,155,1217,181"/>
<area shape="rect" href="trap_8c.html" title=" " alt="" coords="1241,155,1363,181"/>
</map>
</div>
</div>
<p><a href="pmm_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpmm__manager.html">pmm_manager</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a2da01fb5c4d60882c0ac7fdc987ee835"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a2da01fb5c4d60882c0ac7fdc987ee835">alloc_page</a>()&#160;&#160;&#160;<a class="el" href="pmm_8h.html#ae2055a0254d79140f1adf784b9b07fea">alloc_pages</a>(1)</td></tr>
<tr class="separator:a2da01fb5c4d60882c0ac7fdc987ee835"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c069ac61effc7178adc221f844ec660"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a8c069ac61effc7178adc221f844ec660">free_page</a>(page)&#160;&#160;&#160;<a class="el" href="pmm_8h.html#af5bf600e8b5ab88df053b90d965c9482">free_pages</a>(page, 1)</td></tr>
<tr class="separator:a8c069ac61effc7178adc221f844ec660"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2634aa5c851663d00365f74ddd5a8f4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#ad2634aa5c851663d00365f74ddd5a8f4">PADDR</a>(kva)</td></tr>
<tr class="separator:ad2634aa5c851663d00365f74ddd5a8f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac40892d58f04557f383d2dd69ae89980"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#ac40892d58f04557f383d2dd69ae89980">KADDR</a>(pa)</td></tr>
<tr class="separator:ac40892d58f04557f383d2dd69ae89980"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:af4a8f7b822fc87d04d74adeb3b2ce6da"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#af4a8f7b822fc87d04d74adeb3b2ce6da">pmm_init</a> (void)</td></tr>
<tr class="separator:af4a8f7b822fc87d04d74adeb3b2ce6da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2055a0254d79140f1adf784b9b07fea"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#ae2055a0254d79140f1adf784b9b07fea">alloc_pages</a> (<a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> n)</td></tr>
<tr class="separator:ae2055a0254d79140f1adf784b9b07fea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5bf600e8b5ab88df053b90d965c9482"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#af5bf600e8b5ab88df053b90d965c9482">free_pages</a> (struct <a class="el" href="struct_page.html">Page</a> *base, <a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> n)</td></tr>
<tr class="separator:af5bf600e8b5ab88df053b90d965c9482"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc1a40cd35d7497eef920fbc9219ff0e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#acc1a40cd35d7497eef920fbc9219ff0e">nr_free_pages</a> (void)</td></tr>
<tr class="separator:acc1a40cd35d7497eef920fbc9219ff0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02acb8e4d598f04b9655befb6029d19c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a02acb8e4d598f04b9655befb6029d19c">get_pte</a> (<a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *pgdir, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> la, <a class="el" href="defs_8h.html#a1062901a7428fdd9c7f180f5e01ea056">bool</a> create)</td></tr>
<tr class="separator:a02acb8e4d598f04b9655befb6029d19c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8d2b93cd8003ac07e8863af1ee60cde"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#ad8d2b93cd8003ac07e8863af1ee60cde">get_page</a> (<a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *pgdir, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> la, <a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a> **ptep_store)</td></tr>
<tr class="separator:ad8d2b93cd8003ac07e8863af1ee60cde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adae5703d585cd0ce51183278b594bad3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#adae5703d585cd0ce51183278b594bad3">page_remove</a> (<a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *pgdir, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> la)</td></tr>
<tr class="separator:adae5703d585cd0ce51183278b594bad3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fa283dec28e3409f8f4b6d35860cb4b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a6fa283dec28e3409f8f4b6d35860cb4b">page_insert</a> (<a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *pgdir, struct <a class="el" href="struct_page.html">Page</a> *page, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> la, <a class="el" href="defs_8h.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> perm)</td></tr>
<tr class="separator:a6fa283dec28e3409f8f4b6d35860cb4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a6a3f83d69815b453aea9121f46a6ed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a3a6a3f83d69815b453aea9121f46a6ed">tlb_invalidate</a> (<a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *pgdir, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> la)</td></tr>
<tr class="separator:a3a6a3f83d69815b453aea9121f46a6ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a682ec852da4ba9f942d14dd940c9dc50"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a682ec852da4ba9f942d14dd940c9dc50">pgdir_alloc_page</a> (<a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *pgdir, <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> la, <a class="el" href="defs_8h.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> perm)</td></tr>
<tr class="separator:a682ec852da4ba9f942d14dd940c9dc50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf54bae0ec07dff85b828139f157626d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="defs_8h.html#abafb6daca94570612947ad9188e76704">ppn_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d">page2ppn</a> (struct <a class="el" href="struct_page.html">Page</a> *page)</td></tr>
<tr class="separator:aaf54bae0ec07dff85b828139f157626d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab517d995357f15a4c66fb27a510eb374"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374">page2pa</a> (struct <a class="el" href="struct_page.html">Page</a> *page)</td></tr>
<tr class="separator:ab517d995357f15a4c66fb27a510eb374"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9eb3d05d35adc23aa957c07d5ef5ed4e"><td class="memItemLeft" align="right" valign="top">static struct <a class="el" href="struct_page.html">Page</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e">pa2page</a> (<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> pa)</td></tr>
<tr class="separator:a9eb3d05d35adc23aa957c07d5ef5ed4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3aa177386346f37eaadf16359ef44da7"><td class="memItemLeft" align="right" valign="top">static void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7">page2kva</a> (struct <a class="el" href="struct_page.html">Page</a> *page)</td></tr>
<tr class="separator:a3aa177386346f37eaadf16359ef44da7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cd9040356b15a1592f57740735b2285"><td class="memItemLeft" align="right" valign="top">static struct <a class="el" href="struct_page.html">Page</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a9cd9040356b15a1592f57740735b2285">kva2page</a> (void *kva)</td></tr>
<tr class="separator:a9cd9040356b15a1592f57740735b2285"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd8a44beb459c14597658dbdc0e18881"><td class="memItemLeft" align="right" valign="top">static struct <a class="el" href="struct_page.html">Page</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881">pte2page</a> (<a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a> pte)</td></tr>
<tr class="separator:abd8a44beb459c14597658dbdc0e18881"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab84f065d9581eef81630b9d4cbb55ce3"><td class="memItemLeft" align="right" valign="top">static struct <a class="el" href="struct_page.html">Page</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#ab84f065d9581eef81630b9d4cbb55ce3">pde2page</a> (<a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> pde)</td></tr>
<tr class="separator:ab84f065d9581eef81630b9d4cbb55ce3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8e136c060561748245105389a3a40c5"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5">page_ref</a> (struct <a class="el" href="struct_page.html">Page</a> *page)</td></tr>
<tr class="separator:ad8e136c060561748245105389a3a40c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e526abf140359344dbd9ea214f53694"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694">set_page_ref</a> (struct <a class="el" href="struct_page.html">Page</a> *page, int val)</td></tr>
<tr class="separator:a1e526abf140359344dbd9ea214f53694"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ebfb8f851299c3580b73617eb99237b"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a9ebfb8f851299c3580b73617eb99237b">page_ref_inc</a> (struct <a class="el" href="struct_page.html">Page</a> *page)</td></tr>
<tr class="separator:a9ebfb8f851299c3580b73617eb99237b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae21a67a56c29b89be9fd3e8eef6a034"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034">page_ref_dec</a> (struct <a class="el" href="struct_page.html">Page</a> *page)</td></tr>
<tr class="separator:aae21a67a56c29b89be9fd3e8eef6a034"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af481d80989da3c646996210195814878"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#af481d80989da3c646996210195814878">flush_tlb</a> ()</td></tr>
<tr class="separator:af481d80989da3c646996210195814878"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90435beaeea486ae0208f68941db36a2"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2">pte_create</a> (<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> ppn, int type)</td></tr>
<tr class="separator:a90435beaeea486ae0208f68941db36a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc43806627d8729a4a9ac50a8aa6d31c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#adc43806627d8729a4a9ac50a8aa6d31c">ptd_create</a> (<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> ppn)</td></tr>
<tr class="separator:adc43806627d8729a4a9ac50a8aa6d31c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e2dc4d71325ce9ddba783b4289e8e75"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a8e2dc4d71325ce9ddba783b4289e8e75">kmalloc</a> (<a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> n)</td></tr>
<tr class="separator:a8e2dc4d71325ce9ddba783b4289e8e75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab66b2fd61c3ed722ba79fdaab776029f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#ab66b2fd61c3ed722ba79fdaab776029f">kfree</a> (void *ptr, <a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> n)</td></tr>
<tr class="separator:ab66b2fd61c3ed722ba79fdaab776029f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:a0cd8b7454d0faea627c35ad822ef9a4a"><td class="memItemLeft" align="right" valign="top">const struct <a class="el" href="structpmm__manager.html">pmm_manager</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a0cd8b7454d0faea627c35ad822ef9a4a">pmm_manager</a></td></tr>
<tr class="separator:a0cd8b7454d0faea627c35ad822ef9a4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e27015f20756014fc8a45df69e7ddb6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a0e27015f20756014fc8a45df69e7ddb6">boot_pgdir</a></td></tr>
<tr class="separator:a0e27015f20756014fc8a45df69e7ddb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7ebf0f48e3e27066f5ce9c2f31707a1"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#ae7ebf0f48e3e27066f5ce9c2f31707a1">nbase</a></td></tr>
<tr class="separator:ae7ebf0f48e3e27066f5ce9c2f31707a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98084074f2524047e21ca23ca88c837b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a98084074f2524047e21ca23ca88c837b">boot_cr3</a></td></tr>
<tr class="separator:a98084074f2524047e21ca23ca88c837b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c8561a52c4cda29a9be7dc7be92c771"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a5c8561a52c4cda29a9be7dc7be92c771">pages</a></td></tr>
<tr class="separator:a5c8561a52c4cda29a9be7dc7be92c771"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d8e8c6eeec8c5e988ecea5d898e7737"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a7d8e8c6eeec8c5e988ecea5d898e7737">npage</a></td></tr>
<tr class="separator:a7d8e8c6eeec8c5e988ecea5d898e7737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34eba112423c8481417b93f8dd0f9ee6"><td class="memItemLeft" align="right" valign="top">uint_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#a34eba112423c8481417b93f8dd0f9ee6">va_pa_offset</a></td></tr>
<tr class="separator:a34eba112423c8481417b93f8dd0f9ee6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab2c31437b57d7eb7f8c6b6a421604e5"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#aab2c31437b57d7eb7f8c6b6a421604e5">bootstack</a> []</td></tr>
<tr class="separator:aab2c31437b57d7eb7f8c6b6a421604e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1d119103a4e9fab1f23eb42cafe7d5a"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pmm_8h.html#af1d119103a4e9fab1f23eb42cafe7d5a">bootstacktop</a> []</td></tr>
<tr class="separator:af1d119103a4e9fab1f23eb42cafe7d5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a2da01fb5c4d60882c0ac7fdc987ee835"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2da01fb5c4d60882c0ac7fdc987ee835">&#9670;&nbsp;</a></span>alloc_page</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define alloc_page</td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="pmm_8h.html#ae2055a0254d79140f1adf784b9b07fea">alloc_pages</a>(1)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8c069ac61effc7178adc221f844ec660"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c069ac61effc7178adc221f844ec660">&#9670;&nbsp;</a></span>free_page</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define free_page</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">page</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="pmm_8h.html#af5bf600e8b5ab88df053b90d965c9482">free_pages</a>(page, 1)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac40892d58f04557f383d2dd69ae89980"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac40892d58f04557f383d2dd69ae89980">&#9670;&nbsp;</a></span>KADDR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KADDR</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pa</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">    ({                                                           \</div>
<div class="line">        uintptr_t __m_pa = (pa);                                 \</div>
<div class="line">        size_t __m_ppn = <a class="code" href="mmu_8h.html#a78cbe8d89b0e2c790d8f2935b3e66a91">PPN</a>(__m_pa);                            \</div>
<div class="line">        if (__m_ppn &gt;= <a class="code" href="pmm_8h.html#a7d8e8c6eeec8c5e988ecea5d898e7737">npage</a>) {                                  \</div>
<div class="line">            panic(<span class="stringliteral">&quot;KADDR called with invalid pa %08lx&quot;</span>, __m_pa); \</div>
<div class="line">        }                                                        \</div>
<div class="line">        (<span class="keywordtype">void</span> *)(__m_pa + <a class="code" href="pmm_8h.html#a34eba112423c8481417b93f8dd0f9ee6">va_pa_offset</a>);                         \</div>
<div class="line">    })</div>
<div class="ttc" id="ammu_8h_html_a78cbe8d89b0e2c790d8f2935b3e66a91"><div class="ttname"><a href="mmu_8h.html#a78cbe8d89b0e2c790d8f2935b3e66a91">PPN</a></div><div class="ttdeci">#define PPN(la)</div><div class="ttdef"><b>Definition:</b> mmu.h:45</div></div>
<div class="ttc" id="apmm_8h_html_a34eba112423c8481417b93f8dd0f9ee6"><div class="ttname"><a href="pmm_8h.html#a34eba112423c8481417b93f8dd0f9ee6">va_pa_offset</a></div><div class="ttdeci">uint_t va_pa_offset</div><div class="ttdef"><b>Definition:</b> pmm.c:20</div></div>
<div class="ttc" id="apmm_8h_html_a7d8e8c6eeec8c5e988ecea5d898e7737"><div class="ttname"><a href="pmm_8h.html#a7d8e8c6eeec8c5e988ecea5d898e7737">npage</a></div><div class="ttdeci">size_t npage</div><div class="ttdef"><b>Definition:</b> pmm.c:18</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ad2634aa5c851663d00365f74ddd5a8f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2634aa5c851663d00365f74ddd5a8f4">&#9670;&nbsp;</a></span>PADDR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PADDR</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">kva</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">    ({                                                             \</div>
<div class="line">        uintptr_t __m_kva = (<a class="code" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>)(kva);                      \</div>
<div class="line">        if (__m_kva &lt; <a class="code" href="memlayout_8h.html#a20cbfc19992a40ab9ccf4aa8ab8283d0">KERNBASE</a>) {                                  \</div>
<div class="line">            panic(<span class="stringliteral">&quot;PADDR called with invalid kva %08lx&quot;</span>, __m_kva); \</div>
<div class="line">        }                                                          \</div>
<div class="line">        __m_kva - <a class="code" href="pmm_8h.html#a34eba112423c8481417b93f8dd0f9ee6">va_pa_offset</a>;                                    \</div>
<div class="line">    })</div>
<div class="ttc" id="adefs_8h_html_a04cf3633489292bdd23ff5b429bc476b"><div class="ttname"><a href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a></div><div class="ttdeci">uint_t uintptr_t</div><div class="ttdef"><b>Definition:</b> defs.h:41</div></div>
<div class="ttc" id="amemlayout_8h_html_a20cbfc19992a40ab9ccf4aa8ab8283d0"><div class="ttname"><a href="memlayout_8h.html#a20cbfc19992a40ab9ccf4aa8ab8283d0">KERNBASE</a></div><div class="ttdeci">#define KERNBASE</div><div class="ttdef"><b>Definition:</b> memlayout.h:34</div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="ae2055a0254d79140f1adf784b9b07fea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2055a0254d79140f1adf784b9b07fea">&#9670;&nbsp;</a></span>alloc_pages()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="struct_page.html">Page</a>* alloc_pages </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_ae2055a0254d79140f1adf784b9b07fea_cgraph.gif" border="0" usemap="#apmm_8h_ae2055a0254d79140f1adf784b9b07fea_cgraph" alt=""/></div>
<map name="apmm_8h_ae2055a0254d79140f1adf784b9b07fea_cgraph" id="apmm_8h_ae2055a0254d79140f1adf784b9b07fea_cgraph">
<area shape="rect" title=" " alt="" coords="5,233,104,260"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="307,208,371,235"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="152,259,236,285"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="466,157,538,184"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="630,56,695,83"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="621,157,704,184"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="764,5,851,32"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="899,5,1053,32"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="777,157,837,184"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="773,208,841,235"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="770,259,845,285"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="767,56,848,83"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="774,107,841,133"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="467,309,537,336"/>
<area shape="rect" href="swapfs_8c.html#a41793685a63e0f8e2d48695566bc75bb" title=" " alt="" coords="285,411,393,437"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="284,259,395,285"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="625,208,701,235"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="623,411,702,437"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="764,360,851,387"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="617,309,708,336"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="609,360,716,387"/>
<area shape="rect" href="ide_8c.html#a1d381d983b9bc07a2a4b636ed1997174" title=" " alt="" coords="443,461,561,488"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="459,411,545,437"/>
<area shape="rect" href="string_8c.html#a18d9a75dd16f2db6609538cb4ddedaf1" title=" " alt="" coords="623,461,702,488"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="463,259,541,285"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_ae2055a0254d79140f1adf784b9b07fea_icgraph.gif" border="0" usemap="#apmm_8h_ae2055a0254d79140f1adf784b9b07fea_icgraph" alt=""/></div>
<map name="apmm_8h_ae2055a0254d79140f1adf784b9b07fea_icgraph" id="apmm_8h_ae2055a0254d79140f1adf784b9b07fea_icgraph">
<area shape="rect" title=" " alt="" coords="783,31,881,57"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="621,5,735,32"/>
<area shape="rect" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75" title=" " alt="" coords="641,56,715,83"/>
<area shape="rect" href="vmm_8c.html#a24d42b4ed2477d387310ddb18e277071" title=" " alt="" coords="476,31,572,57"/>
<area shape="rect" href="vmm_8c.html#a7a6d4d9a52a15d77de91f761855c1a66" title=" " alt="" coords="475,81,573,108"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,56,413,83"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="306,107,407,133"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,5,427,32"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,31,239,57"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,31,89,57"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="146,107,230,133"/>
</map>
</div>

</div>
</div>
<a id="af481d80989da3c646996210195814878"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af481d80989da3c646996210195814878">&#9670;&nbsp;</a></span>flush_tlb()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void flush_tlb </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_af481d80989da3c646996210195814878_icgraph.gif" border="0" usemap="#apmm_8h_af481d80989da3c646996210195814878_icgraph" alt=""/></div>
<map name="apmm_8h_af481d80989da3c646996210195814878_icgraph" id="apmm_8h_af481d80989da3c646996210195814878_icgraph">
<area shape="rect" title=" " alt="" coords="1351,133,1428,160"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="1192,133,1303,160"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="853,83,951,109"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="1005,133,1144,160"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="1033,209,1117,236"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="663,83,799,109"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="681,133,781,160"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="520,7,611,33"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="665,32,797,59"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="523,108,607,135"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="336,7,460,33"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="137,7,280,33"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="23,7,71,33"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="847,133,957,160"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="341,184,455,211"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="158,209,259,236"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,209,89,236"/>
<area shape="rect" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea" title=" " alt="" coords="853,235,951,261"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="674,235,787,261"/>
<area shape="rect" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75" title=" " alt="" coords="693,285,768,312"/>
<area shape="rect" href="vmm_8c.html#a24d42b4ed2477d387310ddb18e277071" title=" " alt="" coords="517,285,613,312"/>
<area shape="rect" href="vmm_8c.html#a7a6d4d9a52a15d77de91f761855c1a66" title=" " alt="" coords="516,235,615,261"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="347,285,449,312"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="328,235,468,261"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="167,285,251,312"/>
</map>
</div>

</div>
</div>
<a id="af5bf600e8b5ab88df053b90d965c9482"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5bf600e8b5ab88df053b90d965c9482">&#9670;&nbsp;</a></span>free_pages()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void free_pages </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_af5bf600e8b5ab88df053b90d965c9482_icgraph.gif" border="0" usemap="#apmm_8h_af5bf600e8b5ab88df053b90d965c9482_icgraph" alt=""/></div>
<map name="apmm_8h_af5bf600e8b5ab88df053b90d965c9482_icgraph" id="apmm_8h_af5bf600e8b5ab88df053b90d965c9482_icgraph">
<area shape="rect" title=" " alt="" coords="788,49,883,76"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="306,5,407,32"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="627,49,740,76"/>
<area shape="rect" href="pmm_8c.html#ab66b2fd61c3ed722ba79fdaab776029f" title=" " alt="" coords="655,100,711,127"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="146,5,230,32"/>
<area shape="rect" href="vmm_8c.html#ad7541e89504d7d084a3d31b67166185e" title=" " alt="" coords="475,75,579,101"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,68,413,95"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,119,427,145"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,81,239,108"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,81,89,108"/>
</map>
</div>

</div>
</div>
<a id="ad8d2b93cd8003ac07e8863af1ee60cde"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8d2b93cd8003ac07e8863af1ee60cde">&#9670;&nbsp;</a></span>get_page()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="struct_page.html">Page</a>* get_page </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td>
          <td class="paramname"><em>pgdir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>la</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a> **&#160;</td>
          <td class="paramname"><em>ptep_store</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_ad8d2b93cd8003ac07e8863af1ee60cde_cgraph.gif" border="0" usemap="#apmm_8h_ad8d2b93cd8003ac07e8863af1ee60cde_cgraph" alt=""/></div>
<map name="apmm_8h_ad8d2b93cd8003ac07e8863af1ee60cde_cgraph" id="apmm_8h_ad8d2b93cd8003ac07e8863af1ee60cde_cgraph">
<area shape="rect" title=" " alt="" coords="5,183,88,209"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="142,132,213,159"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="136,208,219,235"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="282,5,358,32"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="281,56,359,83"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="421,81,508,108"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="275,157,365,184"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="267,208,373,235"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="281,259,359,285"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_ad8d2b93cd8003ac07e8863af1ee60cde_icgraph.gif" border="0" usemap="#apmm_8h_ad8d2b93cd8003ac07e8863af1ee60cde_icgraph" alt=""/></div>
<map name="apmm_8h_ad8d2b93cd8003ac07e8863af1ee60cde_icgraph" id="apmm_8h_ad8d2b93cd8003ac07e8863af1ee60cde_icgraph">
<area shape="rect" title=" " alt="" coords="285,5,368,32"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="137,5,237,32"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="5,5,89,32"/>
</map>
</div>

</div>
</div>
<a id="a02acb8e4d598f04b9655befb6029d19c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02acb8e4d598f04b9655befb6029d19c">&#9670;&nbsp;</a></span>get_pte()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a>* get_pte </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td>
          <td class="paramname"><em>pgdir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>la</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a1062901a7428fdd9c7f180f5e01ea056">bool</a>&#160;</td>
          <td class="paramname"><em>create</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a02acb8e4d598f04b9655befb6029d19c_cgraph.gif" border="0" usemap="#apmm_8h_a02acb8e4d598f04b9655befb6029d19c_cgraph" alt=""/></div>
<map name="apmm_8h_a02acb8e4d598f04b9655befb6029d19c_cgraph" id="apmm_8h_a02acb8e4d598f04b9655befb6029d19c_cgraph">
<area shape="rect" title=" " alt="" coords="5,107,76,133"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="139,5,215,32"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="138,56,217,83"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="279,81,365,108"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="132,157,223,184"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="124,208,231,235"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a02acb8e4d598f04b9655befb6029d19c_icgraph.gif" border="0" usemap="#apmm_8h_a02acb8e4d598f04b9655befb6029d19c_icgraph" alt=""/></div>
<map name="apmm_8h_a02acb8e4d598f04b9655befb6029d19c_icgraph" id="apmm_8h_a02acb8e4d598f04b9655befb6029d19c_icgraph">
<area shape="rect" title=" " alt="" coords="1259,233,1329,260"/>
<area shape="rect" href="pmm_8c.html#af3af0918f7edad53db84fb434d4553c1" title="setup and enable the paging mechanism" alt="" coords="1060,5,1211,32"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="859,56,995,83"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="877,107,977,133"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="347,537,449,564"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="520,259,611,285"/>
<area shape="rect" href="pmm_8c.html#ad8d2b93cd8003ac07e8863af1ee60cde" title=" " alt="" coords="1094,157,1177,184"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="1086,208,1185,235"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="1080,360,1191,387"/>
<area shape="rect" href="swap_8c.html#af3058f8798ac6b061b6a6ca528ac9932" title=" " alt="" coords="1098,309,1173,336"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="1093,436,1177,463"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="687,81,771,108"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="167,537,251,564"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="336,259,460,285"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="137,259,280,285"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="23,259,71,285"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="663,208,795,235"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="341,436,455,463"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="158,461,259,488"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,461,89,488"/>
<area shape="rect" href="swap_8c.html#ab3052457b47fe22e700ce9d6620b4485" title=" " alt="" coords="843,309,1012,336"/>
<area shape="rect" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea" title=" " alt="" coords="878,461,977,488"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="672,512,785,539"/>
<area shape="rect" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75" title=" " alt="" coords="691,461,766,488"/>
<area shape="rect" href="vmm_8c.html#a24d42b4ed2477d387310ddb18e277071" title=" " alt="" coords="517,461,613,488"/>
<area shape="rect" href="vmm_8c.html#a7a6d4d9a52a15d77de91f761855c1a66" title=" " alt="" coords="516,512,615,539"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="328,487,468,513"/>
</map>
</div>

</div>
</div>
<a id="ab66b2fd61c3ed722ba79fdaab776029f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab66b2fd61c3ed722ba79fdaab776029f">&#9670;&nbsp;</a></span>kfree()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void kfree </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_ab66b2fd61c3ed722ba79fdaab776029f_cgraph.gif" border="0" usemap="#apmm_8h_ab66b2fd61c3ed722ba79fdaab776029f_cgraph" alt=""/></div>
<map name="apmm_8h_ab66b2fd61c3ed722ba79fdaab776029f_cgraph" id="apmm_8h_ab66b2fd61c3ed722ba79fdaab776029f_cgraph">
<area shape="rect" title=" " alt="" coords="5,31,61,57"/>
<area shape="rect" href="pmm_8c.html#af5bf600e8b5ab88df053b90d965c9482" title=" " alt="" coords="109,5,204,32"/>
<area shape="rect" href="pmm_8h.html#a9cd9040356b15a1592f57740735b2285" title=" " alt="" coords="113,56,200,83"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="252,56,331,83"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_ab66b2fd61c3ed722ba79fdaab776029f_icgraph.gif" border="0" usemap="#apmm_8h_ab66b2fd61c3ed722ba79fdaab776029f_icgraph" alt=""/></div>
<map name="apmm_8h_ab66b2fd61c3ed722ba79fdaab776029f_icgraph" id="apmm_8h_ab66b2fd61c3ed722ba79fdaab776029f_icgraph">
<area shape="rect" title=" " alt="" coords="627,56,683,83"/>
<area shape="rect" href="vmm_8c.html#ad7541e89504d7d084a3d31b67166185e" title=" " alt="" coords="475,56,579,83"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,5,413,32"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="306,107,407,133"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,56,427,83"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,31,239,57"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,31,89,57"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="146,107,230,133"/>
</map>
</div>

</div>
</div>
<a id="a8e2dc4d71325ce9ddba783b4289e8e75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e2dc4d71325ce9ddba783b4289e8e75">&#9670;&nbsp;</a></span>kmalloc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* kmalloc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a>&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a8e2dc4d71325ce9ddba783b4289e8e75_cgraph.gif" border="0" usemap="#apmm_8h_a8e2dc4d71325ce9ddba783b4289e8e75_cgraph" alt=""/></div>
<map name="apmm_8h_a8e2dc4d71325ce9ddba783b4289e8e75_cgraph" id="apmm_8h_a8e2dc4d71325ce9ddba783b4289e8e75_cgraph">
<area shape="rect" title=" " alt="" coords="5,259,80,285"/>
<area shape="rect" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea" title=" " alt="" coords="128,233,227,260"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="581,259,668,285"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="430,233,494,260"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="275,183,359,209"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="589,309,661,336"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="753,309,818,336"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="744,385,827,412"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="887,284,973,311"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="1021,284,1176,311"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="900,537,960,564"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="896,335,964,361"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="893,385,967,412"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="889,436,971,463"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="897,487,963,513"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="589,157,660,184"/>
<area shape="rect" href="swapfs_8c.html#a41793685a63e0f8e2d48695566bc75bb" title=" " alt="" coords="408,183,516,209"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="407,56,517,83"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="747,208,823,235"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="746,259,825,285"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="887,144,973,171"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="740,107,831,133"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="732,157,839,184"/>
<area shape="rect" href="ide_8c.html#a1d381d983b9bc07a2a4b636ed1997174" title=" " alt="" coords="565,107,684,133"/>
<area shape="rect" href="string_8c.html#a18d9a75dd16f2db6609538cb4ddedaf1" title=" " alt="" coords="746,5,825,32"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="586,56,663,83"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a8e2dc4d71325ce9ddba783b4289e8e75_icgraph.gif" border="0" usemap="#apmm_8h_a8e2dc4d71325ce9ddba783b4289e8e75_icgraph" alt=""/></div>
<map name="apmm_8h_a8e2dc4d71325ce9ddba783b4289e8e75_icgraph" id="apmm_8h_a8e2dc4d71325ce9ddba783b4289e8e75_icgraph">
<area shape="rect" title=" " alt="" coords="621,56,696,83"/>
<area shape="rect" href="vmm_8c.html#a24d42b4ed2477d387310ddb18e277071" title=" " alt="" coords="476,31,572,57"/>
<area shape="rect" href="vmm_8c.html#a7a6d4d9a52a15d77de91f761855c1a66" title=" " alt="" coords="475,81,573,108"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,56,413,83"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="306,107,407,133"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,5,427,32"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,31,239,57"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,31,89,57"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="146,107,230,133"/>
</map>
</div>

</div>
</div>
<a id="a9cd9040356b15a1592f57740735b2285"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9cd9040356b15a1592f57740735b2285">&#9670;&nbsp;</a></span>kva2page()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static struct <a class="el" href="struct_page.html">Page</a>* kva2page </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>kva</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a9cd9040356b15a1592f57740735b2285_cgraph.gif" border="0" usemap="#apmm_8h_a9cd9040356b15a1592f57740735b2285_cgraph" alt=""/></div>
<map name="apmm_8h_a9cd9040356b15a1592f57740735b2285_cgraph" id="apmm_8h_a9cd9040356b15a1592f57740735b2285_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,92,32"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="140,5,219,32"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a9cd9040356b15a1592f57740735b2285_icgraph.gif" border="0" usemap="#apmm_8h_a9cd9040356b15a1592f57740735b2285_icgraph" alt=""/></div>
<map name="apmm_8h_a9cd9040356b15a1592f57740735b2285_icgraph" id="apmm_8h_a9cd9040356b15a1592f57740735b2285_icgraph">
<area shape="rect" title=" " alt="" coords="731,56,817,83"/>
<area shape="rect" href="pmm_8c.html#ab66b2fd61c3ed722ba79fdaab776029f" title=" " alt="" coords="627,56,683,83"/>
<area shape="rect" href="vmm_8c.html#ad7541e89504d7d084a3d31b67166185e" title=" " alt="" coords="475,56,579,83"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,5,413,32"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="306,107,407,133"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,56,427,83"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,31,239,57"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,31,89,57"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="146,107,230,133"/>
</map>
</div>

</div>
</div>
<a id="acc1a40cd35d7497eef920fbc9219ff0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc1a40cd35d7497eef920fbc9219ff0e">&#9670;&nbsp;</a></span>nr_free_pages()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> nr_free_pages </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_acc1a40cd35d7497eef920fbc9219ff0e_icgraph.gif" border="0" usemap="#apmm_8h_acc1a40cd35d7497eef920fbc9219ff0e_icgraph" alt=""/></div>
<map name="apmm_8h_acc1a40cd35d7497eef920fbc9219ff0e_icgraph" id="apmm_8h_acc1a40cd35d7497eef920fbc9219ff0e_icgraph">
<area shape="rect" title=" " alt="" coords="475,157,589,184"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="289,5,425,32"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="307,56,407,83"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="300,107,413,133"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,157,239,184"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="306,259,407,285"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="287,208,427,235"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="300,309,413,336"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="146,31,230,57"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,157,89,184"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="146,259,230,285"/>
</map>
</div>

</div>
</div>
<a id="a9eb3d05d35adc23aa957c07d5ef5ed4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9eb3d05d35adc23aa957c07d5ef5ed4e">&#9670;&nbsp;</a></span>pa2page()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static struct <a class="el" href="struct_page.html">Page</a>* pa2page </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>pa</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a9eb3d05d35adc23aa957c07d5ef5ed4e_icgraph.gif" border="0" usemap="#apmm_8h_a9eb3d05d35adc23aa957c07d5ef5ed4e_icgraph" alt=""/></div>
<map name="apmm_8h_a9eb3d05d35adc23aa957c07d5ef5ed4e_icgraph" id="apmm_8h_a9eb3d05d35adc23aa957c07d5ef5ed4e_icgraph">
<area shape="rect" title=" " alt="" coords="1281,229,1360,256"/>
<area shape="rect" href="pmm_8h.html#a9cd9040356b15a1592f57740735b2285" title=" " alt="" coords="1147,80,1233,107"/>
<area shape="rect" href="pmm_8c.html#acacf21996cd41f3fab68113860df0a22" title=" " alt="" coords="1149,381,1231,408"/>
<area shape="rect" href="pmm_8h.html#ab84f065d9581eef81630b9d4cbb55ce3" title=" " alt="" coords="813,208,900,235"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="1149,280,1231,307"/>
<area shape="rect" href="pmm_8c.html#ab66b2fd61c3ed722ba79fdaab776029f" title=" " alt="" coords="1001,5,1057,32"/>
<area shape="rect" href="vmm_8c.html#ad7541e89504d7d084a3d31b67166185e" title=" " alt="" coords="805,107,909,133"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="627,157,740,184"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="633,56,734,83"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="613,107,753,133"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="464,132,565,159"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="312,132,396,159"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="473,56,557,83"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="473,347,557,373"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="615,347,751,373"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="633,284,733,311"/>
<area shape="rect" href="pmm_8c.html#ad8d2b93cd8003ac07e8863af1ee60cde" title=" " alt="" coords="988,305,1071,332"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="807,360,906,387"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="960,356,1099,383"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="469,456,560,483"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="617,508,749,535"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="292,456,416,483"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,456,244,483"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,456,53,483"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="801,157,912,184"/>
</map>
</div>

</div>
</div>
<a id="a3aa177386346f37eaadf16359ef44da7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3aa177386346f37eaadf16359ef44da7">&#9670;&nbsp;</a></span>page2kva()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void* page2kva </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td>
          <td class="paramname"><em>page</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a3aa177386346f37eaadf16359ef44da7_cgraph.gif" border="0" usemap="#apmm_8h_a3aa177386346f37eaadf16359ef44da7_cgraph" alt=""/></div>
<map name="apmm_8h_a3aa177386346f37eaadf16359ef44da7_cgraph" id="apmm_8h_a3aa177386346f37eaadf16359ef44da7_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,92,32"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="140,5,219,32"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="267,5,353,32"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a3aa177386346f37eaadf16359ef44da7_icgraph.gif" border="0" usemap="#apmm_8h_a3aa177386346f37eaadf16359ef44da7_icgraph" alt=""/></div>
<map name="apmm_8h_a3aa177386346f37eaadf16359ef44da7_icgraph" id="apmm_8h_a3aa177386346f37eaadf16359ef44da7_icgraph">
<area shape="rect" title=" " alt="" coords="1376,132,1463,159"/>
<area shape="rect" href="pmm_8c.html#a29400c76283fbe787c88dd899595af2b" title=" " alt="" coords="1196,5,1324,32"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="1192,56,1328,83"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="1210,107,1310,133"/>
<area shape="rect" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75" title=" " alt="" coords="691,157,766,184"/>
<area shape="rect" href="swapfs_8c.html#a351ae62e17ae15d0be227ee49b1b526f" title=" " alt="" coords="1208,284,1312,311"/>
<area shape="rect" href="swapfs_8c.html#a41793685a63e0f8e2d48695566bc75bb" title=" " alt="" coords="1206,208,1314,235"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="1060,81,1144,108"/>
<area shape="rect" href="vmm_8c.html#a24d42b4ed2477d387310ddb18e277071" title=" " alt="" coords="517,132,613,159"/>
<area shape="rect" href="vmm_8c.html#a7a6d4d9a52a15d77de91f761855c1a66" title=" " alt="" coords="516,183,615,209"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="341,208,455,235"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="347,107,449,133"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="328,157,468,184"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="158,183,259,209"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,183,89,209"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="167,107,251,133"/>
<area shape="rect" href="swap_8c.html#af3058f8798ac6b061b6a6ca528ac9932" title=" " alt="" coords="1065,297,1139,324"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="520,309,611,336"/>
<area shape="rect" href="swap_8c.html#ab3052457b47fe22e700ce9d6620b4485" title=" " alt="" coords="843,297,1012,324"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="336,309,460,336"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="137,309,280,336"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="23,309,71,336"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="663,259,795,285"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="1060,208,1144,235"/>
<area shape="rect" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea" title=" " alt="" coords="878,208,977,235"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="672,208,785,235"/>
</map>
</div>

</div>
</div>
<a id="ab517d995357f15a4c66fb27a510eb374"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab517d995357f15a4c66fb27a510eb374">&#9670;&nbsp;</a></span>page2pa()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> page2pa </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td>
          <td class="paramname"><em>page</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_ab517d995357f15a4c66fb27a510eb374_cgraph.gif" border="0" usemap="#apmm_8h_ab517d995357f15a4c66fb27a510eb374_cgraph" alt=""/></div>
<map name="apmm_8h_ab517d995357f15a4c66fb27a510eb374_cgraph" id="apmm_8h_ab517d995357f15a4c66fb27a510eb374_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,84,32"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="132,5,219,32"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_ab517d995357f15a4c66fb27a510eb374_icgraph.gif" border="0" usemap="#apmm_8h_ab517d995357f15a4c66fb27a510eb374_icgraph" alt=""/></div>
<map name="apmm_8h_ab517d995357f15a4c66fb27a510eb374_icgraph" id="apmm_8h_ab517d995357f15a4c66fb27a510eb374_icgraph">
<area shape="rect" title=" " alt="" coords="1584,447,1663,474"/>
<area shape="rect" href="default__pmm_8c.html#a1f8e2cbab3afa195062bc0131cb4ecd5" title=" " alt="" coords="1435,548,1536,575"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="1287,243,1358,270"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="1442,447,1529,474"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="672,623,785,650"/>
<area shape="rect" href="pmm_8c.html#af3af0918f7edad53db84fb434d4553c1" title="setup and enable the paging mechanism" alt="" coords="1060,192,1211,219"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="859,40,995,67"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="877,192,977,219"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="347,471,449,498"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="520,155,611,182"/>
<area shape="rect" href="pmm_8c.html#ad8d2b93cd8003ac07e8863af1ee60cde" title=" " alt="" coords="1094,142,1177,168"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="1086,91,1185,118"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="1080,344,1191,371"/>
<area shape="rect" href="swap_8c.html#af3058f8798ac6b061b6a6ca528ac9932" title=" " alt="" coords="1098,395,1173,422"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="1093,496,1177,523"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="687,40,771,67"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="167,471,251,498"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="336,155,460,182"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="137,155,280,182"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="23,155,71,182"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="663,155,795,182"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="341,522,455,548"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="158,547,259,574"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,547,89,574"/>
<area shape="rect" href="swap_8c.html#ab3052457b47fe22e700ce9d6620b4485" title=" " alt="" coords="843,243,1012,270"/>
<area shape="rect" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea" title=" " alt="" coords="878,598,977,624"/>
<area shape="rect" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75" title=" " alt="" coords="691,547,766,574"/>
<area shape="rect" href="vmm_8c.html#a24d42b4ed2477d387310ddb18e277071" title=" " alt="" coords="517,572,613,599"/>
<area shape="rect" href="vmm_8c.html#a7a6d4d9a52a15d77de91f761855c1a66" title=" " alt="" coords="516,522,615,548"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="328,572,468,599"/>
<area shape="rect" href="pmm_8c.html#a29400c76283fbe787c88dd899595af2b" title=" " alt="" coords="1259,598,1387,624"/>
<area shape="rect" href="swapfs_8c.html#a351ae62e17ae15d0be227ee49b1b526f" title=" " alt="" coords="1271,408,1375,435"/>
<area shape="rect" href="swapfs_8c.html#a41793685a63e0f8e2d48695566bc75bb" title=" " alt="" coords="1269,484,1377,511"/>
</map>
</div>

</div>
</div>
<a id="aaf54bae0ec07dff85b828139f157626d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf54bae0ec07dff85b828139f157626d">&#9670;&nbsp;</a></span>page2ppn()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="defs_8h.html#abafb6daca94570612947ad9188e76704">ppn_t</a> page2ppn </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td>
          <td class="paramname"><em>page</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_aaf54bae0ec07dff85b828139f157626d_icgraph.gif" border="0" usemap="#apmm_8h_aaf54bae0ec07dff85b828139f157626d_icgraph" alt=""/></div>
<map name="apmm_8h_aaf54bae0ec07dff85b828139f157626d_icgraph" id="apmm_8h_aaf54bae0ec07dff85b828139f157626d_icgraph">
<area shape="rect" title=" " alt="" coords="1711,280,1797,307"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="1287,280,1358,307"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="1086,78,1185,104"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="1584,394,1663,420"/>
<area shape="rect" href="pmm_8c.html#af3af0918f7edad53db84fb434d4553c1" title="setup and enable the paging mechanism" alt="" coords="1060,230,1211,256"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="859,27,995,54"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="877,179,977,206"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="347,534,449,560"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="520,280,611,307"/>
<area shape="rect" href="pmm_8c.html#ad8d2b93cd8003ac07e8863af1ee60cde" title=" " alt="" coords="1094,179,1177,206"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="1080,331,1191,358"/>
<area shape="rect" href="swap_8c.html#af3058f8798ac6b061b6a6ca528ac9932" title=" " alt="" coords="1098,432,1173,459"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="1093,584,1177,611"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="687,154,771,180"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="167,534,251,560"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="336,280,460,307"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="137,280,280,307"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="23,280,71,307"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="663,230,795,256"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="341,483,455,510"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="158,584,259,611"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,584,89,611"/>
<area shape="rect" href="swap_8c.html#ab3052457b47fe22e700ce9d6620b4485" title=" " alt="" coords="843,331,1012,358"/>
<area shape="rect" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea" title=" " alt="" coords="878,584,977,611"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="672,610,785,636"/>
<area shape="rect" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75" title=" " alt="" coords="691,534,766,560"/>
<area shape="rect" href="vmm_8c.html#a24d42b4ed2477d387310ddb18e277071" title=" " alt="" coords="517,534,613,560"/>
<area shape="rect" href="vmm_8c.html#a7a6d4d9a52a15d77de91f761855c1a66" title=" " alt="" coords="516,584,615,611"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="328,584,468,611"/>
<area shape="rect" href="default__pmm_8c.html#a1f8e2cbab3afa195062bc0131cb4ecd5" title=" " alt="" coords="1435,559,1536,586"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="1442,432,1529,459"/>
<area shape="rect" href="pmm_8c.html#a29400c76283fbe787c88dd899595af2b" title=" " alt="" coords="1259,432,1387,459"/>
<area shape="rect" href="swapfs_8c.html#a351ae62e17ae15d0be227ee49b1b526f" title=" " alt="" coords="1271,483,1375,510"/>
<area shape="rect" href="swapfs_8c.html#a41793685a63e0f8e2d48695566bc75bb" title=" " alt="" coords="1269,584,1377,611"/>
</map>
</div>

</div>
</div>
<a id="a6fa283dec28e3409f8f4b6d35860cb4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6fa283dec28e3409f8f4b6d35860cb4b">&#9670;&nbsp;</a></span>page_insert()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int page_insert </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td>
          <td class="paramname"><em>pgdir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td>
          <td class="paramname"><em>page</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>la</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>&#160;</td>
          <td class="paramname"><em>perm</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a6fa283dec28e3409f8f4b6d35860cb4b_cgraph.gif" border="0" usemap="#apmm_8h_a6fa283dec28e3409f8f4b6d35860cb4b_cgraph" alt=""/></div>
<map name="apmm_8h_a6fa283dec28e3409f8f4b6d35860cb4b_cgraph" id="apmm_8h_a6fa283dec28e3409f8f4b6d35860cb4b_cgraph">
<area shape="rect" title=" " alt="" coords="5,285,104,312"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="186,133,257,160"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="497,6,584,33"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="349,209,439,236"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="339,260,449,286"/>
<area shape="rect" href="pmm_8h.html#a9ebfb8f851299c3580b73617eb99237b" title=" " alt="" coords="169,462,274,489"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="152,310,291,337"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="353,361,435,388"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="339,412,449,438"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="356,158,432,185"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="355,108,433,134"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="341,57,447,84"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="355,310,433,337"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="501,361,580,388"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="502,412,579,438"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a6fa283dec28e3409f8f4b6d35860cb4b_icgraph.gif" border="0" usemap="#apmm_8h_a6fa283dec28e3409f8f4b6d35860cb4b_icgraph" alt=""/></div>
<map name="apmm_8h_a6fa283dec28e3409f8f4b6d35860cb4b_icgraph" id="apmm_8h_a6fa283dec28e3409f8f4b6d35860cb4b_icgraph">
<area shape="rect" title=" " alt="" coords="787,81,885,108"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="603,5,739,32"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="621,56,721,83"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="464,120,555,147"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="605,157,737,184"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="467,44,551,71"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="292,120,416,147"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,120,244,147"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,120,53,147"/>
</map>
</div>

</div>
</div>
<a id="ad8e136c060561748245105389a3a40c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8e136c060561748245105389a3a40c5">&#9670;&nbsp;</a></span>page_ref()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int page_ref </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td>
          <td class="paramname"><em>page</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_ad8e136c060561748245105389a3a40c5_icgraph.gif" border="0" usemap="#apmm_8h_ad8e136c060561748245105389a3a40c5_icgraph" alt=""/></div>
<map name="apmm_8h_ad8e136c060561748245105389a3a40c5_icgraph" id="apmm_8h_ad8e136c060561748245105389a3a40c5_icgraph">
<area shape="rect" title=" " alt="" coords="1145,157,1224,184"/>
<area shape="rect" href="default__pmm_8c.html#a1f8e2cbab3afa195062bc0131cb4ecd5" title=" " alt="" coords="977,5,1079,32"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="613,157,749,184"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="631,107,731,133"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="959,208,1097,235"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="615,259,747,285"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="797,5,911,32"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="473,132,557,159"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="805,208,903,235"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="799,107,909,133"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="469,233,560,260"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="292,233,416,260"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,233,244,260"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,233,53,260"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="625,56,738,83"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="464,56,565,83"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="312,56,396,83"/>
</map>
</div>

</div>
</div>
<a id="aae21a67a56c29b89be9fd3e8eef6a034"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae21a67a56c29b89be9fd3e8eef6a034">&#9670;&nbsp;</a></span>page_ref_dec()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int page_ref_dec </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td>
          <td class="paramname"><em>page</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_aae21a67a56c29b89be9fd3e8eef6a034_icgraph.gif" border="0" usemap="#apmm_8h_aae21a67a56c29b89be9fd3e8eef6a034_icgraph" alt=""/></div>
<map name="apmm_8h_aae21a67a56c29b89be9fd3e8eef6a034_icgraph" id="apmm_8h_aae21a67a56c29b89be9fd3e8eef6a034_icgraph">
<area shape="rect" title=" " alt="" coords="1143,108,1252,135"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="803,83,902,109"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="956,133,1095,160"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="613,83,749,109"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="631,133,731,160"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="469,7,560,33"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="615,32,747,59"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="473,108,557,135"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="292,7,416,33"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,7,244,33"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,7,53,33"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="797,133,908,160"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="625,184,738,211"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="464,184,565,211"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="312,184,396,211"/>
</map>
</div>

</div>
</div>
<a id="a9ebfb8f851299c3580b73617eb99237b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ebfb8f851299c3580b73617eb99237b">&#9670;&nbsp;</a></span>page_ref_inc()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int page_ref_inc </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td>
          <td class="paramname"><em>page</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a9ebfb8f851299c3580b73617eb99237b_icgraph.gif" border="0" usemap="#apmm_8h_a9ebfb8f851299c3580b73617eb99237b_icgraph" alt=""/></div>
<map name="apmm_8h_a9ebfb8f851299c3580b73617eb99237b_icgraph" id="apmm_8h_a9ebfb8f851299c3580b73617eb99237b_icgraph">
<area shape="rect" title=" " alt="" coords="933,81,1039,108"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="787,81,885,108"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="603,5,739,32"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="621,56,721,83"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="464,120,555,147"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="605,157,737,184"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="467,44,551,71"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="292,120,416,147"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,120,244,147"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,120,53,147"/>
</map>
</div>

</div>
</div>
<a id="adae5703d585cd0ce51183278b594bad3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adae5703d585cd0ce51183278b594bad3">&#9670;&nbsp;</a></span>page_remove()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void page_remove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td>
          <td class="paramname"><em>pgdir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>la</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_adae5703d585cd0ce51183278b594bad3_cgraph.gif" border="0" usemap="#apmm_8h_adae5703d585cd0ce51183278b594bad3_cgraph" alt=""/></div>
<map name="apmm_8h_adae5703d585cd0ce51183278b594bad3_cgraph" id="apmm_8h_adae5703d585cd0ce51183278b594bad3_cgraph">
<area shape="rect" title=" " alt="" coords="5,233,116,260"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="198,132,269,159"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="164,309,303,336"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="368,5,444,32"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="367,56,445,83"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="509,81,596,108"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="361,157,451,184"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="353,208,459,235"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="367,259,445,285"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="351,309,461,336"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="365,360,447,387"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="351,411,461,437"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="513,360,592,387"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="514,411,591,437"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_adae5703d585cd0ce51183278b594bad3_icgraph.gif" border="0" usemap="#apmm_8h_adae5703d585cd0ce51183278b594bad3_icgraph" alt=""/></div>
<map name="apmm_8h_adae5703d585cd0ce51183278b594bad3_icgraph" id="apmm_8h_adae5703d585cd0ce51183278b594bad3_icgraph">
<area shape="rect" title=" " alt="" coords="448,31,559,57"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="293,5,393,32"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="287,56,400,83"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="146,5,230,32"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,56,239,83"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,56,89,83"/>
</map>
</div>

</div>
</div>
<a id="ab84f065d9581eef81630b9d4cbb55ce3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab84f065d9581eef81630b9d4cbb55ce3">&#9670;&nbsp;</a></span>pde2page()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static struct <a class="el" href="struct_page.html">Page</a>* pde2page </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a>&#160;</td>
          <td class="paramname"><em>pde</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_ab84f065d9581eef81630b9d4cbb55ce3_cgraph.gif" border="0" usemap="#apmm_8h_ab84f065d9581eef81630b9d4cbb55ce3_cgraph" alt=""/></div>
<map name="apmm_8h_ab84f065d9581eef81630b9d4cbb55ce3_cgraph" id="apmm_8h_ab84f065d9581eef81630b9d4cbb55ce3_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,92,32"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="140,5,219,32"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_ab84f065d9581eef81630b9d4cbb55ce3_icgraph.gif" border="0" usemap="#apmm_8h_ab84f065d9581eef81630b9d4cbb55ce3_icgraph" alt=""/></div>
<map name="apmm_8h_ab84f065d9581eef81630b9d4cbb55ce3_icgraph" id="apmm_8h_ab84f065d9581eef81630b9d4cbb55ce3_icgraph">
<area shape="rect" title=" " alt="" coords="471,56,557,83"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="287,5,423,32"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="305,56,405,83"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="298,107,411,133"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="146,31,230,57"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="137,107,239,133"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,107,89,133"/>
</map>
</div>

</div>
</div>
<a id="a682ec852da4ba9f942d14dd940c9dc50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a682ec852da4ba9f942d14dd940c9dc50">&#9670;&nbsp;</a></span>pgdir_alloc_page()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="struct_page.html">Page</a>* pgdir_alloc_page </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td>
          <td class="paramname"><em>pgdir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>la</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>&#160;</td>
          <td class="paramname"><em>perm</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a682ec852da4ba9f942d14dd940c9dc50_cgraph.gif" border="0" usemap="#apmm_8h_a682ec852da4ba9f942d14dd940c9dc50_cgraph" alt=""/></div>
<map name="apmm_8h_a682ec852da4ba9f942d14dd940c9dc50_cgraph" id="apmm_8h_a682ec852da4ba9f942d14dd940c9dc50_cgraph">
<area shape="rect" title=" " alt="" coords="5,639,137,665"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="403,639,501,665"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="754,828,833,855"/>
<area shape="rect" href="swap_8c.html#ab3052457b47fe22e700ce9d6620b4485" title=" " alt="" coords="185,461,355,488"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="583,411,654,437"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="1029,309,1116,336"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="748,512,839,539"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="739,689,848,716"/>
<area shape="rect" href="pmm_8h.html#a9ebfb8f851299c3580b73617eb99237b" title=" " alt="" coords="566,765,671,792"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="549,715,688,741"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="752,627,835,653"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="738,752,849,779"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="755,360,831,387"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="901,259,979,285"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="740,411,847,437"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="901,627,979,653"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="901,752,979,779"/>
<area shape="rect" href="swap_8c.html#af3058f8798ac6b061b6a6ca528ac9932" title=" " alt="" coords="415,335,489,361"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="587,183,651,209"/>
<area shape="rect" href="swapfs_8c.html#a351ae62e17ae15d0be227ee49b1b526f" title=" " alt="" coords="567,259,671,285"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="757,157,829,184"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="907,56,973,83"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="899,157,981,184"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="1029,5,1116,32"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="1164,5,1319,32"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="1043,107,1103,133"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="1039,157,1107,184"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="1035,208,1110,235"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="1032,259,1113,285"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="1039,56,1106,83"/>
<area shape="rect" href="ide_8c.html#aa3e3300bda460455ef67f4f0b7861e5f" title=" " alt="" coords="736,208,851,235"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="750,259,837,285"/>
<area shape="rect" href="string_8c.html#a18d9a75dd16f2db6609538cb4ddedaf1" title=" " alt="" coords="901,208,979,235"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a682ec852da4ba9f942d14dd940c9dc50_icgraph.gif" border="0" usemap="#apmm_8h_a682ec852da4ba9f942d14dd940c9dc50_icgraph" alt=""/></div>
<map name="apmm_8h_a682ec852da4ba9f942d14dd940c9dc50_icgraph" id="apmm_8h_a682ec852da4ba9f942d14dd940c9dc50_icgraph">
<area shape="rect" title=" " alt="" coords="603,5,735,32"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="464,5,555,32"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="292,5,416,32"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,5,244,32"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,5,53,32"/>
</map>
</div>

</div>
</div>
<a id="af4a8f7b822fc87d04d74adeb3b2ce6da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4a8f7b822fc87d04d74adeb3b2ce6da">&#9670;&nbsp;</a></span>pmm_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pmm_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_af4a8f7b822fc87d04d74adeb3b2ce6da_cgraph.gif" border="0" usemap="#apmm_8h_af4a8f7b822fc87d04d74adeb3b2ce6da_cgraph" alt=""/></div>
<map name="apmm_8h_af4a8f7b822fc87d04d74adeb3b2ce6da_cgraph" id="apmm_8h_af4a8f7b822fc87d04d74adeb3b2ce6da_cgraph">
<area shape="rect" title=" " alt="" coords="5,360,89,387"/>
<area shape="rect" href="pmm_8c.html#a9aaa81257f14b4dd426109afeafbdd37" title=" " alt="" coords="143,227,281,253"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="144,360,280,387"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="162,524,262,551"/>
<area shape="rect" href="pmm_8c.html#aefb49cb1500105bdf41013fd5aa58ac7" title=" " alt="" coords="137,284,287,311"/>
<area shape="rect" href="pmm_8c.html#acacf21996cd41f3fab68113860df0a22" title=" " alt="" coords="171,752,253,779"/>
<area shape="rect" href="stdio_8c.html#ab5c1b009763ca6674c08b6241dad015c" title=" " alt="" coords="360,220,424,247"/>
<area shape="rect" href="stdio_8c.html#a6d5854f463c39b8d25aaa127b216832e" title=" " alt="" coords="531,132,603,159"/>
<area shape="rect" href="stdio_8c.html#ae98dcd3b1f9718f15a600d22a69a2e9a" title=" " alt="" coords="707,44,772,71"/>
<area shape="rect" href="printfmt_8c.html#a6434f2b779b5ede2adc31ee4f7d64198" title=" " alt="" coords="698,132,781,159"/>
<area shape="rect" href="console_8c.html#a9a405546ecd1991ece1431da216e64f2" title=" " alt="" coords="843,5,929,32"/>
<area shape="rect" href="sbi_8h.html#a99638b95984187102dd50b1d0b430d3b" title=" " alt="" coords="977,5,1132,32"/>
<area shape="rect" href="printfmt_8c.html#a7b1e12e09f757ca234758afb4d704db8" title=" " alt="" coords="856,208,916,235"/>
<area shape="rect" href="printfmt_8c.html#a934736e8473edc7ac3a20c613ae5f732" title=" " alt="" coords="852,259,920,285"/>
<area shape="rect" href="printfmt_8c.html#ad7d3bbf7612143a989ce3e9d1bfebf87" title=" " alt="" coords="849,56,923,83"/>
<area shape="rect" href="printfmt_8c.html#a51595febac146e7d189948ebb27e6768" title=" " alt="" coords="845,107,927,133"/>
<area shape="rect" href="string_8c.html#a732f92b81474cfb653776be70bc7f1c7" title=" " alt="" coords="853,157,919,184"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="531,423,602,449"/>
<area shape="rect" href="pmm_8c.html#acc1a40cd35d7497eef920fbc9219ff0e" title=" " alt="" coords="335,423,449,449"/>
<area shape="rect" href="pmm_8h.html#a3aa177386346f37eaadf16359ef44da7" title=" " alt="" coords="349,372,435,399"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="343,473,441,500"/>
<area shape="rect" href="pmm_8h.html#ad8e136c060561748245105389a3a40c5" title=" " alt="" coords="700,651,779,677"/>
<area shape="rect" href="pmm_8h.html#ab84f065d9581eef81630b9d4cbb55ce3" title=" " alt="" coords="349,777,435,804"/>
<area shape="rect" href="string_8c.html#a11bd144d7d44914099a3aeddf1c8567d" title=" " alt="" coords="359,271,425,297"/>
<area shape="rect" href="string_8c.html#a1a8e0d046aa6ccaf2c9947e3142e4786" title=" " alt="" coords="361,119,423,145"/>
<area shape="rect" href="string_8c.html#aa383452fe445bfae989358c9d7d96f4f" title=" " alt="" coords="363,169,421,196"/>
<area shape="rect" href="string_8c.html#a2be8ba378058c555790b0328c2500a63" title=" " alt="" coords="701,448,777,475"/>
<area shape="rect" href="pmm_8h.html#ab517d995357f15a4c66fb27a510eb374" title=" " alt="" coords="700,296,779,323"/>
<area shape="rect" href="pmm_8h.html#aaf54bae0ec07dff85b828139f157626d" title=" " alt="" coords="843,309,929,336"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="694,347,785,373"/>
<area shape="rect" href="pmm_8h.html#a1e526abf140359344dbd9ea214f53694" title=" " alt="" coords="686,499,793,525"/>
<area shape="rect" href="pmm_8h.html#aae21a67a56c29b89be9fd3e8eef6a034" title=" " alt="" coords="685,600,794,627"/>
<area shape="rect" href="pmm_8h.html#a9ebfb8f851299c3580b73617eb99237b" title=" " alt="" coords="514,372,619,399"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="497,575,636,601"/>
<area shape="rect" href="pmm_8h.html#abd8a44beb459c14597658dbdc0e18881" title=" " alt="" coords="698,777,781,804"/>
<area shape="rect" href="pmm_8c.html#a3a6a3f83d69815b453aea9121f46a6ed" title=" " alt="" coords="684,549,795,576"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="847,879,925,905"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="847,549,925,576"/>
<area shape="rect" href="pmm_8c.html#ad8d2b93cd8003ac07e8863af1ee60cde" title=" " alt="" coords="351,727,433,753"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="337,575,447,601"/>
<area shape="rect" href="pmm_8c.html#a1324899ab978eeaf6ead3881ddc1b088" title=" " alt="" coords="335,980,449,1007"/>
</map>
</div>

</div>
</div>
<a id="adc43806627d8729a4a9ac50a8aa6d31c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc43806627d8729a4a9ac50a8aa6d31c">&#9670;&nbsp;</a></span>ptd_create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a> ptd_create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>ppn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_adc43806627d8729a4a9ac50a8aa6d31c_cgraph.gif" border="0" usemap="#apmm_8h_adc43806627d8729a4a9ac50a8aa6d31c_cgraph" alt=""/></div>
<map name="apmm_8h_adc43806627d8729a4a9ac50a8aa6d31c_cgraph" id="apmm_8h_adc43806627d8729a4a9ac50a8aa6d31c_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,96,32"/>
<area shape="rect" href="pmm_8h.html#a90435beaeea486ae0208f68941db36a2" title=" " alt="" coords="144,5,235,32"/>
</map>
</div>

</div>
</div>
<a id="abd8a44beb459c14597658dbdc0e18881"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd8a44beb459c14597658dbdc0e18881">&#9670;&nbsp;</a></span>pte2page()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static struct <a class="el" href="struct_page.html">Page</a>* pte2page </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a>&#160;</td>
          <td class="paramname"><em>pte</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_abd8a44beb459c14597658dbdc0e18881_cgraph.gif" border="0" usemap="#apmm_8h_abd8a44beb459c14597658dbdc0e18881_cgraph" alt=""/></div>
<map name="apmm_8h_abd8a44beb459c14597658dbdc0e18881_cgraph" id="apmm_8h_abd8a44beb459c14597658dbdc0e18881_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,88,32"/>
<area shape="rect" href="pmm_8h.html#a9eb3d05d35adc23aa957c07d5ef5ed4e" title=" " alt="" coords="136,5,215,32"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_abd8a44beb459c14597658dbdc0e18881_icgraph.gif" border="0" usemap="#apmm_8h_abd8a44beb459c14597658dbdc0e18881_icgraph" alt=""/></div>
<map name="apmm_8h_abd8a44beb459c14597658dbdc0e18881_icgraph" id="apmm_8h_abd8a44beb459c14597658dbdc0e18881_icgraph">
<area shape="rect" title=" " alt="" coords="1143,157,1225,184"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="631,157,731,184"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="975,259,1076,285"/>
<area shape="rect" href="pmm_8c.html#ad8d2b93cd8003ac07e8863af1ee60cde" title=" " alt="" coords="984,157,1067,184"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="803,56,902,83"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="956,208,1095,235"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="473,132,557,159"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="811,259,895,285"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="613,107,749,133"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="469,31,560,57"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="615,5,747,32"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="292,31,416,57"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="101,31,244,57"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="5,31,53,57"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="797,208,908,235"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="625,208,738,235"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="464,208,565,235"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="312,208,396,235"/>
</map>
</div>

</div>
</div>
<a id="a90435beaeea486ae0208f68941db36a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90435beaeea486ae0208f68941db36a2">&#9670;&nbsp;</a></span>pte_create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="memlayout_8h.html#ae97b82aa50ed8ad4c79b1d8b8fb53836">pte_t</a> pte_create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>ppn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a90435beaeea486ae0208f68941db36a2_icgraph.gif" border="0" usemap="#apmm_8h_a90435beaeea486ae0208f68941db36a2_icgraph" alt=""/></div>
<map name="apmm_8h_a90435beaeea486ae0208f68941db36a2_icgraph" id="apmm_8h_a90435beaeea486ae0208f68941db36a2_icgraph">
<area shape="rect" title=" " alt="" coords="1397,259,1488,285"/>
<area shape="rect" href="pmm_8c.html#af3af0918f7edad53db84fb434d4553c1" title="setup and enable the paging mechanism" alt="" coords="1060,5,1211,32"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="1269,233,1339,260"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="1086,411,1185,437"/>
<area shape="rect" href="pmm_8h.html#adc43806627d8729a4a9ac50a8aa6d31c" title=" " alt="" coords="1259,335,1349,361"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="859,309,995,336"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="877,259,977,285"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="347,81,449,108"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="520,461,611,488"/>
<area shape="rect" href="pmm_8c.html#ad8d2b93cd8003ac07e8863af1ee60cde" title=" " alt="" coords="1094,259,1177,285"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="1080,157,1191,184"/>
<area shape="rect" href="swap_8c.html#af3058f8798ac6b061b6a6ca528ac9932" title=" " alt="" coords="1098,360,1173,387"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="1093,107,1177,133"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="687,284,771,311"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="167,81,251,108"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="336,461,460,488"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="137,461,280,488"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="23,461,71,488"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="663,461,795,488"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="341,183,455,209"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="158,157,259,184"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,157,89,184"/>
<area shape="rect" href="swap_8c.html#ab3052457b47fe22e700ce9d6620b4485" title=" " alt="" coords="843,411,1012,437"/>
<area shape="rect" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea" title=" " alt="" coords="878,107,977,133"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="672,157,785,184"/>
<area shape="rect" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75" title=" " alt="" coords="691,107,766,133"/>
<area shape="rect" href="vmm_8c.html#a24d42b4ed2477d387310ddb18e277071" title=" " alt="" coords="517,157,613,184"/>
<area shape="rect" href="vmm_8c.html#a7a6d4d9a52a15d77de91f761855c1a66" title=" " alt="" coords="516,107,615,133"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="328,132,468,159"/>
</map>
</div>

</div>
</div>
<a id="a1e526abf140359344dbd9ea214f53694"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e526abf140359344dbd9ea214f53694">&#9670;&nbsp;</a></span>set_page_ref()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void set_page_ref </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="struct_page.html">Page</a> *&#160;</td>
          <td class="paramname"><em>page</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>val</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a1e526abf140359344dbd9ea214f53694_icgraph.gif" border="0" usemap="#apmm_8h_a1e526abf140359344dbd9ea214f53694_icgraph" alt=""/></div>
<map name="apmm_8h_a1e526abf140359344dbd9ea214f53694_icgraph" id="apmm_8h_a1e526abf140359344dbd9ea214f53694_icgraph">
<area shape="rect" title=" " alt="" coords="1473,183,1580,209"/>
<area shape="rect" href="default__pmm_8c.html#a7d291a04f63f996f09d2a90bbafb0a6f" title=" " alt="" coords="1269,132,1415,159"/>
<area shape="rect" href="default__pmm_8c.html#a8f3331d7c6e51ab5fe33d97c42a268e8" title=" " alt="" coords="1259,183,1425,209"/>
<area shape="rect" href="pmm_8c.html#a02acb8e4d598f04b9655befb6029d19c" title=" " alt="" coords="1307,233,1377,260"/>
<area shape="rect" href="pmm_8c.html#af3af0918f7edad53db84fb434d4553c1" title="setup and enable the paging mechanism" alt="" coords="1060,5,1211,32"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="859,56,995,83"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="877,107,977,133"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="347,537,449,564"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="520,259,611,285"/>
<area shape="rect" href="pmm_8c.html#ad8d2b93cd8003ac07e8863af1ee60cde" title=" " alt="" coords="1094,157,1177,184"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="1086,208,1185,235"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="1080,360,1191,387"/>
<area shape="rect" href="swap_8c.html#af3058f8798ac6b061b6a6ca528ac9932" title=" " alt="" coords="1098,309,1173,336"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="1093,436,1177,463"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="687,81,771,108"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="167,537,251,564"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="336,259,460,285"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="137,259,280,285"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="23,259,71,285"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="663,208,795,235"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="341,436,455,463"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="158,461,259,488"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,461,89,488"/>
<area shape="rect" href="swap_8c.html#ab3052457b47fe22e700ce9d6620b4485" title=" " alt="" coords="843,309,1012,336"/>
<area shape="rect" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea" title=" " alt="" coords="878,461,977,488"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="672,512,785,539"/>
<area shape="rect" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75" title=" " alt="" coords="691,461,766,488"/>
<area shape="rect" href="vmm_8c.html#a24d42b4ed2477d387310ddb18e277071" title=" " alt="" coords="517,461,613,488"/>
<area shape="rect" href="vmm_8c.html#a7a6d4d9a52a15d77de91f761855c1a66" title=" " alt="" coords="516,512,615,539"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="328,487,468,513"/>
</map>
</div>

</div>
</div>
<a id="a3a6a3f83d69815b453aea9121f46a6ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a6a3f83d69815b453aea9121f46a6ed">&#9670;&nbsp;</a></span>tlb_invalidate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tlb_invalidate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a> *&#160;</td>
          <td class="paramname"><em>pgdir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>&#160;</td>
          <td class="paramname"><em>la</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a3a6a3f83d69815b453aea9121f46a6ed_cgraph.gif" border="0" usemap="#apmm_8h_a3a6a3f83d69815b453aea9121f46a6ed_cgraph" alt=""/></div>
<map name="apmm_8h_a3a6a3f83d69815b453aea9121f46a6ed_cgraph" id="apmm_8h_a3a6a3f83d69815b453aea9121f46a6ed_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,116,32"/>
<area shape="rect" href="pmm_8h.html#af481d80989da3c646996210195814878" title=" " alt="" coords="164,5,241,32"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="pmm_8h_a3a6a3f83d69815b453aea9121f46a6ed_icgraph.gif" border="0" usemap="#apmm_8h_a3a6a3f83d69815b453aea9121f46a6ed_icgraph" alt=""/></div>
<map name="apmm_8h_a3a6a3f83d69815b453aea9121f46a6ed_icgraph" id="apmm_8h_a3a6a3f83d69815b453aea9121f46a6ed_icgraph">
<area shape="rect" title=" " alt="" coords="1192,133,1303,160"/>
<area shape="rect" href="pmm_8c.html#a6fa283dec28e3409f8f4b6d35860cb4b" title=" " alt="" coords="853,83,951,109"/>
<area shape="rect" href="pmm_8c.html#a047ec20d182919d237ee4bf278b4695b" title=" " alt="" coords="1005,133,1144,160"/>
<area shape="rect" href="swap_8c.html#a8b0c44bb44fc801d843522eefc8b43ac" title=" " alt="" coords="1033,209,1117,236"/>
<area shape="rect" href="pmm_8c.html#a64a19ba41a865e4d76a7edef472a25f0" title=" " alt="" coords="663,83,799,109"/>
<area shape="rect" href="pmm_8c.html#abf14b3e5a214e25093c526c6c4b7fe51" title=" " alt="" coords="681,133,781,160"/>
<area shape="rect" href="vmm_8c.html#a76083b4b497bc14110c89b222892e5a9" title=" " alt="" coords="520,7,611,33"/>
<area shape="rect" href="pmm_8c.html#a682ec852da4ba9f942d14dd940c9dc50" title=" " alt="" coords="665,32,797,59"/>
<area shape="rect" href="pmm_8c.html#af4a8f7b822fc87d04d74adeb3b2ce6da" title=" " alt="" coords="523,108,607,135"/>
<area shape="rect" href="trap_8c.html#a52ce92f648fa34b3877351b9f8240f98" title=" " alt="" coords="336,7,460,33"/>
<area shape="rect" href="trap_8c.html#a9b7dec2ed35d681fdbe2fe46afb695a5" title=" " alt="" coords="137,7,280,33"/>
<area shape="rect" href="trap_8c.html#a372d166e36c086c91e5f5d81e5fead3a" title=" " alt="" coords="23,7,71,33"/>
<area shape="rect" href="pmm_8c.html#adae5703d585cd0ce51183278b594bad3" title=" " alt="" coords="847,133,957,160"/>
<area shape="rect" href="vmm_8c.html#a24c860fd06177e90cba06af92ebf1916" title=" " alt="" coords="341,184,455,211"/>
<area shape="rect" href="vmm_8c.html#ab7ebbcc33c2dd26999c3bc6dd5df1f6f" title=" " alt="" coords="158,209,259,236"/>
<area shape="rect" href="vmm_8c.html#a34e0e13c32b08fd108582567c29ccebf" title=" " alt="" coords="5,209,89,236"/>
<area shape="rect" href="pmm_8c.html#ae2055a0254d79140f1adf784b9b07fea" title=" " alt="" coords="853,235,951,261"/>
<area shape="rect" href="default__pmm_8c.html#a7ed27f53388f855a738e2457f5de682e" title=" " alt="" coords="674,235,787,261"/>
<area shape="rect" href="pmm_8c.html#a8e2dc4d71325ce9ddba783b4289e8e75" title=" " alt="" coords="693,285,768,312"/>
<area shape="rect" href="vmm_8c.html#a24d42b4ed2477d387310ddb18e277071" title=" " alt="" coords="517,285,613,312"/>
<area shape="rect" href="vmm_8c.html#a7a6d4d9a52a15d77de91f761855c1a66" title=" " alt="" coords="516,235,615,261"/>
<area shape="rect" href="swap_8c.html#a3d7e1e8f3b1851c9438d2003941e2d0c" title=" " alt="" coords="347,285,449,312"/>
<area shape="rect" href="vmm_8c.html#a01b4552d4673ffbb6a05eb0f12aef62e" title=" " alt="" coords="328,235,468,261"/>
<area shape="rect" href="swap_8c.html#aecac407d799dab293cab398185a74f35" title=" " alt="" coords="167,285,251,312"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="a98084074f2524047e21ca23ca88c837b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98084074f2524047e21ca23ca88c837b">&#9670;&nbsp;</a></span>boot_cr3</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a> boot_cr3</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0e27015f20756014fc8a45df69e7ddb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e27015f20756014fc8a45df69e7ddb6">&#9670;&nbsp;</a></span>boot_pgdir</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="memlayout_8h.html#a9a4c35b1ede4a4107783c0a8f931fc06">pde_t</a>* boot_pgdir</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aab2c31437b57d7eb7f8c6b6a421604e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab2c31437b57d7eb7f8c6b6a421604e5">&#9670;&nbsp;</a></span>bootstack</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">char bootstack[]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af1d119103a4e9fab1f23eb42cafe7d5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1d119103a4e9fab1f23eb42cafe7d5a">&#9670;&nbsp;</a></span>bootstacktop</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char bootstacktop[]</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae7ebf0f48e3e27066f5ce9c2f31707a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7ebf0f48e3e27066f5ce9c2f31707a1">&#9670;&nbsp;</a></span>nbase</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> nbase</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a7d8e8c6eeec8c5e988ecea5d898e7737"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d8e8c6eeec8c5e988ecea5d898e7737">&#9670;&nbsp;</a></span>npage</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#afeaa5ef46acd844422607ca6602691ef">size_t</a> npage</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a5c8561a52c4cda29a9be7dc7be92c771"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c8561a52c4cda29a9be7dc7be92c771">&#9670;&nbsp;</a></span>pages</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="struct_page.html">Page</a>* pages</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0cd8b7454d0faea627c35ad822ef9a4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cd8b7454d0faea627c35ad822ef9a4a">&#9670;&nbsp;</a></span>pmm_manager</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const struct <a class="el" href="structpmm__manager.html">pmm_manager</a>* <a class="el" href="structpmm__manager.html">pmm_manager</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a34eba112423c8481417b93f8dd0f9ee6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34eba112423c8481417b93f8dd0f9ee6">&#9670;&nbsp;</a></span>va_pa_offset</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint_t va_pa_offset</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
